<div class="promotionShops index">
    <h2><?php echo __('Promociones'); ?></h2>
    <table cellpadding="0" cellspacing="0">
        <tr>
            <th><?php echo $this->Paginator->sort('Promocion'); ?></th>
            <th><?php echo $this->Paginator->sort('Punto de Venta'); ?></th>
            <th class="actions"><?php echo __('Opciones'); ?></th>
        </tr>
        <?php foreach ($promotionShops as $promotionShop): ?>
            <tr>
                <td>
                    <?php echo $this->Html->link($promotionShop['Promotion']['name'], array('controller' => 'promotions', 'action' => 'view', $promotionShop['Promotion']['id'])); ?>
                </td>
                <td>
                    <?php echo $this->Html->link($promotionShop['Shop']['name'], array('controller' => 'shops', 'action' => 'view', $promotionShop['Shop']['id'])); ?>
                </td>

                <td class="actions">
                    <?php echo $this->Html->link(__('View'), array('action' => 'view', $promotionShop['PromotionShop']['id'])); ?>
                    <?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $promotionShop['PromotionShop']['id'])); ?>
                    <?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $promotionShop['PromotionShop']['id']), null, __('Are you sure you want to delete # %s?', $promotionShop['PromotionShop']['id'])); ?>
                </td>
            </tr>
        <?php endforeach; ?>
    </table>

    <?php echo $this->element('footer/paginator') ?>

</div>
<div class="actions">
    <h3><?php echo __('Actions'); ?></h3>
    <ul>
        <li><?php echo $this->Html->link(__('New Promotion Shop'), array('action' => 'add')); ?></li>
        <li><?php echo $this->Html->link(__('List Shops'), array('controller' => 'shops', 'action' => 'index')); ?> </li>
        <li><?php echo $this->Html->link(__('New Shop'), array('controller' => 'shops', 'action' => 'add')); ?> </li>
        <li><?php echo $this->Html->link(__('List Promotions'), array('controller' => 'promotions', 'action' => 'index')); ?> </li>
        <li><?php echo $this->Html->link(__('New Promotion'), array('controller' => 'promotions', 'action' => 'add')); ?> </li>
    </ul>
</div>
